package com.bjpowernode.service.request;

/**
 * @ProjectName: mimissm
 * @Package: com.bjpowernode.service.request
 * @ClassName: PageAndPNameAndTypeIdAndpPriceLikeQuery
 * @Author: [Lucky Star]
 * @Date: 2022/4/19 22:46
 * @Version: V1.0
 **/
public class PageAndPNameAndTypeIdAndpPriceLikeQuery {
//    int page,String pName,Integer typeId, String pPrice
    private Integer page;  // 当前页
    private String pName;  // 模糊查询条件：商品名称
    private Integer typeId;  // 商品类型----商品ID
    // 商品价格 -- 低价格 & 高价格 lprice & hprice
    private Integer lprice;
    private Integer hprice;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        if (page == null || page== 0){
            page = 1;
        }
        this.page = page;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getLprice() {
        return lprice;
    }

    public void setLprice(Integer lprice) {
        this.lprice = lprice;
    }

    public Integer getHprice() {
        return hprice;
    }

    public void setHprice(Integer hprice) {
        this.hprice = hprice;
    }
}
